package com.factory;

public class ServiceImpl implements Service {

//  private Dao dao = new DaoImpl();

  private Dao dao = BeanFactory.getBean(Dao.class);

  @Override
  public void find(Integer id) {

    dao.find(id);
  }
}
